package org.jackysoft.service;

import java.util.Collection;

import org.jackysoft.data.ServiceProvider;
import org.jackysoft.entity.OsRuntimeContext;
import org.springframework.dao.DataAccessException;

public interface OsRuntimeContextService extends
		ServiceProvider<OsRuntimeContext> {

	Collection<OsRuntimeContext> getsByName(String workflowName)
			throws DataAccessException;

	OsRuntimeContext findOne(long workflowId, int actionId, long stepId)
			throws DataAccessException;
	OsRuntimeContext findOne(String refname, int actionId, long stepId)
			throws DataAccessException;

}